 <#include "../common/com.html"/>
  <@layout>

<!-- ace styles -->
<script type="text/javascript">
	
</script>
<div class="widget-box transparent">
	<div class="widget-header widget-header-flat">
		<h4 class="lighter">
			<i class="icon-star orange"></i> 会员卡信息
		</h4>
		<div class="widget-toolbar"></div>
	</div>

	<div class="widget-body">
		<div class="widget-main no-padding">
			<table class="table  table-striped table-condensed table-bordered">
				<thead>
					<tr class="info">
						<th><i class="icon-caret-right blue"></i> 卡号</th>

						<th class="hidden-phone">办卡日期</th>

						<th>姓名</th>
						<th>余额</th>
						<th>积分</th>
						<th class="hidden-phone">电话</th>

						<th>车牌号码</th>

						<th class="hidden-phone">车型</th>
						<th class="hidden-phone">车款</th>

						<th>保险日期</th>
						<th>年检日期</th>
					</tr>
				</thead>
				<#list newlist as m>
				<tbody>
					<tr class="info">
						<td>
					<input id="ids" name="ids" type="hidden" style="min-height: 24px;" value="${(m.id)!}" />
					<input id="cards" name="cards" type="hidden" style="min-height: 24px;" value="${(m.card)!}" />
											<input id="ye" name="ye" type="hidden" style="min-height: 24px;" value="${(m.ye)!}" />
						
						${(m.card)!}</td>

						<td class="hidden-phone">${(m.bkrq)!}</td>
						<td >
						${(m.yhm)!}</td>
						<td>
						${(m.ysje)?number+(m.czje)?number-(m.vipcard)?number}   </td>
							<td>
						${(m.vipcard)?number+(m.moneys)?number -(m.xfjfs)?number}   </td>
						<td class="hidden-phone">${(m.dh)!}</td>

						<td>${(m.cph)!}</td>

						<td class="hidden-phone">${(m.cx)!}</td>
						<td class="hidden-phone">${(m.ck)!}</td>

						<td>${(m.bxrq)!}</td>
						<td>${(m.njrq)!}</td>
					</tr>
						<tr>
						<td colspan="9">
						<button onclick="xfkd();" class="btn btn-mini btn-danger">
							消费开单
						</button>
						<button onclick="zlxg();" class="btn btn-mini btn-danger">
							资料修改
						</button>
						<button onclick="gs();" class="btn btn-mini btn-danger">
							挂失
						</button>
						<button onclick="cz();" class="btn btn-mini btn-danger">
							充值
						</button>
						<button onclick="zs();" class="btn btn-mini btn-danger">
							赠送产品
						</button>
						<button onclick="jfdh();" class="btn btn-mini btn-danger">
							积分兑换
						</button>
						</td>
					</tr>
				</tbody>
				</#list>
			</table>
		</div>
		<!-- /widget-main -->
	</div>
	<!-- /widget-body -->
</div>
<!-- /widget-box -->
<#if newlist?size ==0 >
<p class="alert alert-danger">没有此卡号</p>

</#if>



</body>


</@layout>
